package com.cloud.demo.models.bus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.demo.models.bus.domian.BusOrder;
import com.cloud.demo.models.bus.domian.BusOrderDetailed;
import com.cloud.demo.models.bus.qo.OrderQo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Entity com/cloud/demo/models/bus.entity.BusOrder
 */
@Mapper
public interface BusOrderMapper extends BaseMapper<BusOrder> {

    /**
     * 不为空的条件作为查询条件 范围查询
     * @param qo
     * @return
     */
    List<BusOrderDetailed> selectOrderDetailed(OrderQo qo);
}




